<% form_remote_tag :url=> teams_url, :before => "spinnerOn('teams');", :complete => "spinnerOff('teams');", :method => :post do %>
<div class="container">
    <%=render :partial => 'form' %>
    <div style="clear:both">
    </div>
</div>
<div class="buttons">
    <%=button_cancel 'teams', teams_url %> <%=button_ok %>
    <div style="clear:both">
    </div>
</div>
<% end %>